<style>
    .msgbox {
        min-width: 50%;
        max-width: 90%;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding: 1em;
    }
</style>

<dom node="MsgBox">
    <div class="panel-bg">
        <div name="panel" class="panel msgbox">
            <b name="title"></b>
            <span name="text"></span>
            <div style="
            display: flex;
            flex-direction: row;
            justify-content: space-evenly;
            width: 100%;">
                <button name="no">否</button>
                <button name="yes">是</button>
            </div>
        </div>
    </div>
</dom>